package com.wyh.mapper.g3mapper;

import com.wyh.domain.po.g3po.G3Bill;
import com.wyh.domain.vo.g3vo.BillVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: cc
 * @Date: 2024/05/21/9:35
 **/
@Mapper

public interface G3BillMapper {

    //插入记录
    void insertBill(G3Bill bill);

    //通过id查询
    G3Bill findById(@Param("id") int id); //

    //更新bill表
    void updateBill(G3Bill bill); //

    List<BillVO> getBillDetailsByIds(@Param("ids") List<Integer> ids);

    //通过detailsid查询
    G3Bill findBillByBillDetailsId(@Param("billDetailsId") int billDetailsId);
}
